<!--{include(pe_tpl('do_header.html'));}-->
<div class="login_bg1" style="margin-top:-20px">
	<div style="width:1000px; margin:0 auto; position:relative">
	<div class="login_r" style="width:300px; height:400px; top:-50px;  position:absolute; right:0;">
		<div class="zctt">{$menutitle}</div>
		<form method="post" id="form">
		<div class="zc_input1 mat10">
			登录帐号：<input type="text" name="user_name" class="login_input1" placeholder="手机号码 / 邮箱" />
		</div>
		<div class="zc_input1 mat10" style="position:relative">
			验&nbsp;&nbsp;证 码：<input type="text" name="yzm" class="login_input1" placeholder="手机 / 邮箱验证码" style="width:100px;" />
			<div class="user_yzm" onclick="send_yzm(this)">获取验证码</div>
		</div>
		<div class="zc_input1 mat10">
			设置新密码：<input type="text" name="user_pw" class="login_input1" placeholder="设置6-20位新密码" onfocus="this.type='password'" style="width:190px;" />
		</div>
		<div class="zc_input1 mat10">
			确认新密码：<input type="text" name="user_pw2" class="login_input1" placeholder="再次输入新密码" onfocus="this.type='password'" style="width:190px;" />
		</div>
		<div class="mat20">
			<input type="hidden" name="pesubmit" />
			<input type="button" class="loginbtn" value="提 交" />
		</div>
		</form>
		<div class="login_other mat20">
			<a href="{$pe['host']}user.php?mod=do&act=register" class="mar10">免费注册</a> |
			<a href="{$pe['host']}user.php?mod=do&act=login" class="mal10">用户登录</a>
		</div>
	</div>
	</div>
</div>
<script type="text/javascript">
$(function(){
	$(":button").click(function(){
		pe_submit('user.php?mod=do&act=getpw', function(json){
			if (json.code == 1) {
				pe_open('user.php', 1000);
			}
		})
	})
})
function send_yzm(_this) {
	var value = $(":input[name='user_name']").val();
	if (value == '') {
		pe_tip('请填写账号');
		return false;
	}
	if (value.indexOf('@') >= 0) {
		pe_sendyzm(_this, 'email', value, true);
	}
	else {
		pe_sendyzm(_this, 'phone', value, true);
	}
}
</script>
<!--{include(pe_tpl('do_footer.html'));}-->